package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.Employee;

import java.util.List;

public  interface EmployeeService {

    Employee login(String loginName, String loginPassword);

    //查询列表的详细信息
    PageInfo<Employee> selectAll(String userName, String roleName, String deptName, Integer pageNum, Integer size);

    //添加用户
    void add(Employee employee);
    //根据ID查询用户的信息
    Employee updatedById(Integer id);

    //修改用户信息
    void updated(Employee employee);

    //根据id来修改用户的信息
    Integer deleteById(Integer id);

    //根据ids批量删除数据
    Integer deletes(Integer[] ids);

    //根据ids导出
    List<Employee> findEmployeeByIds(Integer[] ids);
}
